
<div id="main_div">	
	<script type="text/javascript">
		function func_back(){
			$("#main_form").prop("action", "listSubject");
			return $("#main_form").submit();
		}
	</script>	
	<form id="main_form" method="post" action="confirmSubject">
		<input type="hidden" name="confirmType" value="insert"/>	
		<center><H1>Tạo mới môn học</H1></center>
		<table id="main_table">
			<tr>
				<td>
					Môn học
				</td>
				<td style="text-align: left;">
					<input type="text" name="subName" value="<?php echo $subName; ?>"/>
				</td>
			</tr>
			<tr>
				<td style="vertical-align:middle;">
					Mô tả môn học
				</td>
				<td style="text-align: left;">
					<textarea name="subDescript" cols="50" rows="5"><?php echo $subDescript; ?></textarea>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<input class="btn" type="submit" value="Hoàn Tất"/>
					<input class="btn" type="button" value="Quay Lại" onclick="func_back()"/>
				</td>
			</tr>
		</table>
	</form>
</div>
 
	